<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Viewloader extends CI_Controller {

	/**
	 * Index Page for this controller.
	 *
	 * Maps to the following URL
	 * 		http://example.com/index.php/welcome
	 *	- or -  
	 * 		http://example.com/index.php/welcome/index
	 *	- or -
	 * Since this controller is set as the default controller in 
	 * config/routes.php, it's displayed at http://example.com/
	 *
	 * So any other public methods not prefixed with an underscore will
	 * map to /index.php/welcome/<method_name>
	 * @see http://codeigniter.com/user_guide/general/urls.html
	 */
	public function index()
	{
	}

	public function tenant_login(){
		$this->load->view('tenant-login-form');
	}

	public function tenant_register(){
		$this->load->view('tenant-register-form');
	}

	public function tenant_login_bar(){
		$this->load->view('tenant-login-bar');
	}

	public function tenant_main(){
		$this->load->view('tenant-main');
	}

	public function inventory(){
		$this->load->view('customobjects');
	}
	
	public function workflow(){
		$this->load->view('workflow');
	}
	
	public function workflowtest(){
		$this->load->view('workflowtest');
	}

	public function sess_destroy(){
		$this->session->sess_destroy();
		echo "Logged out";
	}
	
	public function category(){
		$this->load->view('managecategory');
	}
	
	public function product(){
		$this->load->view('manageproducts');
	}
	
	public function attributes(){
		$this->load->view('manageattributes');
	}
	
	public function manageobjects(){
		$this->load->view('manageobjects');
	}
}


/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */
